﻿using Com.JunCaiSoft.API.WXWork.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.NoticeSystem.Model.Notice
{
    public class NoticeView
    {
        /// <summary>
        /// 通知标识
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// 通知序号
        /// </summary>
        public virtual Int64 Num { get; set; }
        /// <summary>
        /// 通知编码
        /// </summary>
        public virtual String NumCode { get; set; }
        /// <summary>
        /// 通知群组（个人、部门、标签）
        /// </summary>
        public virtual Int32 Group { get; set; }
        /// <summary>
        /// 通知标题
        /// </summary>
        public virtual String Title { get; set; }
        /// <summary>
        /// 通知消息
        /// </summary>
        public virtual String Message { get; set; }
        /// <summary>
        /// 通知目标
        /// </summary>
        public virtual List<String> Targets { get; set; }
        /// <summary>
        /// 消息内容（微信接口的各种消息，数据为JSON格式）
        /// </summary>
        public virtual TextCard Content { get; set; }
        /// <summary>
        /// 通知日志（微信接口发送的消息，返回值【用JSON保存】）
        /// </summary>
        public virtual String NoticeLog { get; set; }
        /// <summary>
        /// 是否要重发消息
        /// </summary>
        public virtual Boolean ReSendNotice { get; set; }
        /// <summary>
        /// 发送消息的数据
        /// </summary>
        public virtual Guid SendData { get; set; }
        /// <summary>
        /// 消息发送者
        /// </summary>
        public virtual Guid Sender { get; set; }
        /// <summary>
        /// 消息发送者部门
        /// </summary>
        public virtual Guid SenderPartment { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual String CreateTime { get; set; }
    }
}
